package com.bdqn.jpayhymeleaf.repository;

import com.bdqn.jpayhymeleaf.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @version 2024-09-20
 * @Author:T369曹任柱
 */
public interface UserRepository extends JpaRepository<User,Long> , JpaSpecificationExecutor<User> {
    public List<User> findByUsrNameAndUsrPassword(String usrName,String usrPassword);
}
